<template>
  <div class="common">
    <div class="common-style">
      <div class="title">
        <slot name="title"></slot>
      </div>
      <slot name="body"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "CommonStyle"
}
</script>

<style lang="less" scoped>
.common {
  min-height:500px;
  width: 100%;
  background-color: #eeeeee;
  .common-style {
    //margin: 100px auto 0px;
    margin: 60px auto 0px;
    max-width: 1400px;
    .title {
      min-height: 80px;
      text-align: center;
      font-size: 40px;
      line-height:80px;
    }
  }
}
@media screen and (max-width: 850px) {
  .common {
    width: 90%;
    margin: 0 auto;
    .common-style {
      margin-top: 30px;
      .title {
        font-size: 20px;
        min-height: 10px;
        line-height:50px;

      }
    }
  }
}
</style>
